home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
19
/
8
/
DISK1982.ZIP
/
CH1_1.DOC
< prev
next >
Wrap
Text File
|
1991-03-15
|
5KB
|
156 lines
■ INTRODUCTION
This is a reference manual for the FlashPac Pascal library. This
implementation is for use with Turbo Pascal in the PC-DOS operating
system. A working knowledge of Turbo Pascal and personal computers
is assumed.
The routines that are included here were created to provide a
programmer with low level routines that access the video display,
keyboard, printer, disk, and mouse devices. These routines are not
intended to replace the standard features of Turbo Pascal. They
were created to add to and extend to the Turbo Pascal programming
environment for MS-DOS and PC-DOS operating systems.
In order to lessen the confusion of using these routines the number
of global variables needed for use with this library has been kept
to a minimum. All the functions in the library were written in
assembly language using the pascal parameter passing conventions.
The library contains routines for the disk, keyboard, mouse, printer
and video display devices, as well as a couple of DOS functions.
FPDISK Supports several DOS function calls that use byte streams
when accessing disk files.
FPGETKEY Required for EditSt.
FPKBD Supports BIOS and DOS keyboard function calls.
FPMOUSE Supports basic mouse functions, including a mouse event
handler.
FPPRT Support BIOS printer functions.
FPVIDEO Several video routines that provide direct access to the
video display. Routines include saving and restoring the
screen, framing windows, setting the absolute position of
the cursor, etc.
FPDOS1 Beep function and ExecChild for TP4.0, TP5.0 & TP5.5
FPDOS2 Several functions that access the DOS interrupts.
FPBIOS Several functions that uses the BIOS to access several of
the video functions available.
Place the units files into the units subdirectory or use TPUMOVER to
place the units into the Turbo Pascal Library.
In order to use any one of the units just include the unit to be
used in the "USES" clause.
..page
..head02L──────────────────────────────────────────────────────────────────────
..head04L──────────────────────────────────────────────────────────────────────
..head03ASample
■ Description
What the function does
■ Summary
Function declaration with parameter list.
Parm1 Parm1 description.
Parm2 Parm2 description.
■ Remarks
General comments.
■ See Also
Related functions
■ Example
Sample program or code fragment.
..page
..head04L──────────────────────────────────────────────────────────────────────
..head03AHistory of Revisions
V3.5
1. Added functions to access video bios interrupts.
2. Added functions to access several of the dos interrupts.
3. Revised all source code so it could be assembled with
either Borland's "TASM" or Microsoft's "MASM".
4. The pascal library now supports Turbo Pascal 6.0
..page
..head04L──────────────────────────────────────────────────────────────────────
..head03AFuture Directions
■ Future directions
If you have any enhancements you would like to see included please
drop me a line describing the enhancement you would like to see.
Please send enhancement requests to: Kevin Dahl
1209 Poplar St
La Crescent, MN 55947
Hopeful
completion
date Description of enhancement
---------- --------------------------------------------------------
06/30/91 define a menu system that is similar to windows and OS/2
PM structure. Menu definition structure will probably
resemble that of OS/2 PM.
09/30/91 write code to handle menu
03/31/92 write menu resource compiler to generate code so a
programmer can define a menu exactly the same way a menu
is defined for OS/2 PM.
??/??/?? Screen management system with paint program.
The following is a list of defined functions.
WinChgFld
WinChgGlobal
WinChgMouseDef
WinClosep
WinDspAllFlds
WinDspHdrs
WinDspOneFld
WinDspNFlds
WinDsp
WinDspText
WinGetFldPtr
WinGetFldNumMouseIn
WinGetFnKeyWin
WinLoadColorTbl
WinLoad
WinLoadValidKeySets
WinInitMouse
WinMouseIn
WinOpen
WinRead
WinSetColorTable
WinSetDefltFlds
The paint program is somewhat functional. It will allow
you to define up to 99 screens in a library.
..page